home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9460 < prev    next >
Encoding:
Text File  |  1996-08-05  |  772 b   |  19 lines

  1. Newsgroups: comp.lang.misc,comp.lang.c,comp.lang.pl1
  2. Path: cix.compulink.co.uk!usenet
  3. From: jdm17@cix.compulink.co.uk ("John Meredith")
  4. Subject: Re: GOTO controversy
  5. Message-ID: <Do2J4D.J4K@cix.compulink.co.uk>
  6. Organization: Compulink Information eXchange
  7. References: <4grt4e$8fg@goanna.cs.rmit.EDU.AU> <4hl8mt$4po@newshost.cyberramp.net> <wallaceDnvoEo.7L7@netcom.com>
  8. Date: Sun, 10 Mar 1996 20:19:25 GMT
  9.  
  10.  
  11. If a routine needs to perform some cleanup before returning
  12. and there may be occasions where an early RETURN is required
  13. (e.g. errors), then GO TO to transfer to a single clean-up-
  14. and-return code block is neater than multiple copies of said
  15. block.  Of course if the clean-up is complex, it would warrant
  16. being a separate (internal?) procedure.
  17.  
  18. John D. Meredith
  19.